package com.ssm.utils;

import java.util.List;

/**
 * 查询条件
 * @author Administrator
 *
 */
public class Search {
	
	private List<Condition> conditions;
	
	private int beginIndex;
	private int pageSize;
	
	public Search(List<Condition> conditions, int beginIndex, int pageSize) {
		this.conditions = conditions;
		this.beginIndex = beginIndex;
		this.pageSize = pageSize;
	}
	public void setConditions(List<Condition> conditions) {
		this.conditions = conditions;
	}
	public int getBeginIndex() {
		return beginIndex;
	}
	public void setBeginIndex(int beginIndex) {
		this.beginIndex = beginIndex;
	}
	public List<Condition> getConditions() {
		return conditions;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

}
